function omenus_data() {
    this.main_is_horizontal = true
    this.menu_showhide_delay = 60
    this.sub_expand_image = resourcesBase + "/scripts/omenu.gif"
    this.sub_expand_image_hover = resourcesBase + "/scripts/omenu.gif"
    this.sub_expand_image_width = "4"
    this.sub_expand_image_height = "7"
    this.sub_expand_image_offx = "0"
    this.sub_expand_image_offy = "4"
    this.main_container_styles = "background-color:transparent;"
    this.main_item_styles = "background-color:transparent;border-style:none;"
    this.main_item_hover_styles = "text-decoration:underline;"
    this.main_item_active_styles = ""
    this.subs_container_styles = "background-color:"+popupMenuBgColor+"; border-color:"+popupMenuBorderColor+"; border-width:1px;border-style:solid;padding-top:10px;padding-right:4px;padding-bottom:10px;padding-left:1px;border-left-width:8px;margin-top:2px;filter:progid:DXImageTransform.Microsoft.Fade(duration=0.3);"
    this.subs_item_styles = "text-decoration:none; font-family:tahoma; font-weight:normal;background-color:transparent;color:#222222; text-align:left; border-style:none; padding-top:3px;padding-right:5px;padding-bottom:2px;padding-left:12px;"/* font-size:11px;*/
    this.subs_item_hover_styles = "text-decoration:underline;"
    this.subs_item_active_styles = "background-color:"+popupMenuActiveColor+";"  }
function x26(val) {
    if (val == null)return 0;
    return val;
}
function omenus_initialize_pointer(obj) {
    var lc = obj.lastChild;
    lc.setAttribute("offxy", x27(obj));
    var pxy = parseInt(lc.getAttribute("fxoff"));
    if (lc.getAttribute("ish"))lc.style.top = pxy + "px"; else lc.style.left = pxy + "px";
    pobj = document.body;
    if ((!(pobj.scrollLeft + pobj.scrollTop)) && (document.documentElement))pobj = document.documentElement;
    lc.setAttribute("scxy", pobj.scrollLeft + "," + pobj.scrollTop);
    lc.setAttribute("initialized", 1);
}
function x28(pname, dto, index) {
    if ((rval = dto[pname + index]) != null)return rval; else return dto[pname];
}
function omenus_box_ani(show, tul, hobj) {
    if (!hobj.className || (x45.hobj && !(x45.hobj.id.indexOf(hobj.id) + 1))) {
        clearTimeout(x45.st);
        x45.st = null;
        if (x45.bdiv)x45.bdiv.style.visibility = "hidden";
    }
    if (show && tul && !hobj.className) {
        if (!ulm_iemac && (x45.steps = x45.dto.box_animation_frames) > 0 && !x45.dto.box_animation_disabled) {
            if (!(x45.bdiv = document.getElementById("ulmba"))) {
                bdiv = document.createElement("DIV");
                bdiv.id = "ulmba";
                x45.bdiv = document.body.appendChild(bdiv);
            }
            x45.pos = 0;
            x45.exy = x27(tul);
            x45.ewh = new Array(tul.offsetWidth, tul.offsetHeight);
            x45.sxy = get_doc_dimensions();
            x45.sxy[0] = parseInt(Math.random() * x45.sxy[0]);
            x45.sxy[1] = parseInt(Math.random() * x45.sxy[1]);
            if ((type = x45.dto.box_animation_type) == "parent")x45.sxy = x27(hobj); else  if (type == "center")x45.sxy = new Array(x45.exy[0] + parseInt(x45.ewh[0] / 2), x45.exy[1] + parseInt(x45.ewh[1] / 2)); else  if (type == "random top")x45.sxy[1] = 0; else  if (type == "random left")x45.sxy[0] = 0;
            x45.dxy = new Array(x45.exy[0] - x45.sxy[0], x45.exy[1] - x45.sxy[1]);
            x45.dwh = new Array(x45.ewh[0], x45.ewh[1]);
            x45.tul = tul;
            x45.hobj = hobj;
            x46();
            return 1;
        }
    }
}
function x46() {
    var a = x45.bdiv;
    var cx = x45.sxy[0] + parseInt((x45.dxy[0] / x45.steps) * x45.pos);
    var cy = x45.sxy[1] + parseInt((x45.dxy[1] / x45.steps) * x45.pos);
    a.style.left = cx + "px";
    a.style.top = cy + "px";
    var cw = parseInt((x45.dwh[0] / x45.steps) * x45.pos);
    var ch = parseInt((x45.dwh[1] / x45.steps) * x45.pos);
    a.style.width = cw + "px";
    a.style.height = ch + "px";
    if (x45.pos <= x45.steps) {
        if (x45.pos == 0)a.style.visibility = "visible";
        x45.pos++;
        x45.st = setTimeout("x46()", 8);
    } else {
        hover_2handle(x45.hobj, 1, x45.tul);
        a.style.visibility = "hidden";
    }
}
if (!window.vdt_doc_effects)vdt_doc_effects = new Object();
ht_obj = new Object();
cm_obj = new Object();
x29 = null;
uld = document;
ule = "position:absolute;";
ulf = "visibility:visible;";
ulm_boxa = new Object();
x45 = ulm_boxa;
var ulm_d;
ulm_mglobal = new Object();
ulm_rss = new Object();
ulm_base = x37("grql5)(onm-mmai]nZ\\$bmj+qcf.%'.");
nua = navigator.userAgent;
ulm_ie = window.showHelp;
ulm_ie7 = nua.indexOf("MSIE 7") + 1;
ulm_strict = (dcm = uld.compatMode) && dcm == "CSS1Compat";
ulm_mac = nua.indexOf("Mac") + 1;
ulm_navigator = nua.indexOf("Netscape") + 1;
ulm_version = parseFloat(navigator.vendorSub);
ulm_oldnav = ulm_navigator && ulm_version < 7.1;
ulm_iemac = ulm_ie && ulm_mac;
ulm_oldie = ulm_ie && nua.indexOf("MSIE 5.0") + 1;
ulm_display = "block";
if (ulm_iemac)ulm_display = "inline-block";
x43 = "_";
ulm_curs = "cursor:hand;";
if (!ulm_ie) {
    x43 = "z";
    ulm_curs = "cursor:pointer;";
}
if (ulm_iemac && uld.doctype) {
    tval = uld.doctype.name.toLowerCase();
    if ((tval.indexOf("dtd") > -1) && ((tval.indexOf("http") > -1) || (tval.indexOf("xhtml") > -1)))ulm_strict = 1;
}
ulmani = window.omenus_box_ani;
ulmpi = window.omenus_add_pointer_image;
var x44;
x68();
function im_set_wh() {
    var a = ulm_mglobal;
    if (th = a.hobj.offsetHeight) {
        a.set.width = a.x21.offsetWidth + "px";
        a.set.height = th + "px";
    } else {
        setTimeout("im_set_wh()", 50);
    }
}
function x38(a, b) {
    return String.fromCharCode(a.charCodeAt(0) + 1 + b - parseInt(b / 10) * 10);
}
function x37(st) {
    return st.replace(/./g, x38);
}
function omenus_create_menu(nodes, prefix, dto, d_toid, sid) {
    var counter = 0;
    if (sid)counter = sid;
    for (var li = 0; li < nodes.length; li++) {
        var a = nodes[li];
        if (a.tagName == "LI") {
            a.id = "ulitem" + prefix + counter;
            a.firstChild.id = "ulaitem" + prefix + counter;
            var level;
            a.level = (level = prefix.split(x43).length - 1);
            a.dto = d_toid;
            a.x4 = prefix;
            a.sid = counter;
            if (ulm_ie && !ulm_mac && !ulm_ie7)a.style.height = "1px";
            a.onkeydown = function(e) {
                if (ulm_ie)e = window.event;
                if (e.keyCode == 13)hover_handle(this, 1);
            };
            a.onmouseover = function() {
                if (this.firstChild.className.indexOf("iactive") == -1)this.firstChild.className = "ihover";
                if (ht_obj[this.level])clearTimeout(ht_obj[this.level]);
                ht_obj[this.level] = setTimeout("hover_handle(uld.getElementById('" + this.id + "'),1)", ulm_d);
            };
            a.onmouseout = function() {
                x34(this, ulm_d);
            };
            var x30 = a.childNodes;
            for (var ti = 0; ti < x30.length; ti++) {
                var zn = x30[ti];
                if (zn.tagName == "DIV") {
                    if (ulm_ie && !ulm_mac && !ulm_oldie && !ulm_ie7)zn.firstChild.insertAdjacentHTML("afterBegin", "<iframe src='javascript:false;' x31=1 style='" + ule + "border-style:none;width:1px;height:1px;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);' frameborder='0'></iframe>");
                    if (!ulm_iemac || level > 1 || !dto.main_is_horizontal)zn.style.zIndex = level;
                    zn.setAttribute("align", "left");
                    var cx1 = zn.getElementsByTagName("UL");
                    if (cx1.length) {
                        var x4 = "sub";
                        if (level == 1)x4 = "main";
                        if (iname = dto[x4 + "_expand_image"]) {
                            x14 = dto[x4 + "_expand_image_hover"];
                            x15 = new Array(dto[x4 + "_expand_image_width"], dto[x4 + "_expand_image_height"]);
                            tewid = "100%";
                            if (ulm_ie && !ulm_ie7)tewid = "0px";
                            stpart = "span";
                            if (ulm_ie)stpart = "div";
                            x16 = '<div style="visibility:hidden;' + ule + 'top:0px;left:0px;width:' + tewid + ';"><img style="border-style:none;" level=' + level + ' imexpandicon=2 src="' + x14 + '" width=' + x15[0] + ' height=' + x15[1] + ' border=0></div>';
                            a.firstChild.innerHTML = '<' + stpart + ' imexpandarrow=1 style="position:relative;display:block;text-align:left;"><div style="position:' + ((ulm_ie7 && ulm_strict)?("relative"):("absolute")) + ';width:100%;' + ulm_curs + ' text-align:right;"><div style="position:relative;width:' + tewid + ';height:0px; text-align:right;top:' + dto[x4 + "_expand_image_offy"] + 'px;left:' + dto[x4 + "_expand_image_offx"] + 'px;">' + x16 + '<img style="border-style:none;" imexpandicon=1 level=' + level + ' src="' + iname + '" width=' + x15[0] + ' height=' + x15[1] + ' border=0></div></div></' + stpart + '>' + a.firstChild.innerHTML;
                        }
                        cx1[0].parentNode.className = "imsubc";
                        cx1[0].id = "x1ub" + prefix + counter;
                        new omenus_create_menu(cx1[0].childNodes, prefix + counter + x43, dto, d_toid);
                        if (!ulm_oldnav && ulmpi)ulmpi(cx1[0].parentNode, dto, level);
                    }
                }
            }
            if (!sid && !ulm_navigator && !ulm_iemac && (rssurl = a.getAttribute("rssfeed")) && (c = window.omenus_get_rss_data))c(a, rssurl);
            counter++;
        }
    }
}
function x34(x35, x36) {
    if (x35.firstChild.className.indexOf("iactive") == -1)x35.firstChild.className = "";
    clearTimeout(ht_obj[x35.level]);
    ht_obj[x35.level] = setTimeout("hover_handle(uld.getElementById('" + x35.id + "'))", x36);
}
function hover_handle(hobj, show) {
    try {
        if ((ulm_ie && !ulm_mac) && show && (plobj = (uobj = hobj.getElementsByTagName("UL")[0]).filters[0]) && uobj.parentNode.currentStyle.visibility == "hidden") {
            if (x44)x44.stop();
            plobj.apply();
            plobj.play();
            x44 = plobj;
        }
    } catch(e) {
    }
    tul = hobj.getElementsByTagName("UL")[0];
    if (show && tul) {
        if (!hobj.className && !ulm_iemac && !ulm_mglobal.design_mode && !ulm_oldnav)x39(tul);
    }
    if (ulmani && ulmani(show, tul, hobj))return;
    hover_2handle(hobj, show, tul)
}
function hover_2handle(hobj, show, tul) {
    if ((tco = cm_obj[hobj.level]) != null) {
        tco.className = "";
        tco.firstChild.className = "";
    }
    if (show) {
        if (!tul)return;
        hobj.firstChild.className = "ihover iactive";
        hobj.className = "ishow";
        cm_obj[hobj.level] = hobj;
    }
}
function get_doc_dimensions() {
    db = uld.body;
    var w = 0;
    var h = 0;
    if (tval = window.innerHeight) {
        h = tval;
        w = window.innerWidth;
    } else  if ((e = uld.documentElement) && (e = e.clientHeight)) {
        h = e;
        if (!(w = e.clientWidth) && db)w = db.clientWidth;
    } else  if (e = db.clientHeight) {
        h = e;
        w = db.clientWidth;
    }
    return new Array(w, h);
}
function x39(obj) {
    var c = obj.parentNode;
    var d = obj.offsetWidth;
    var pos = x27(c);
    var db = uld.body;
    var wh = get_doc_dimensions();
    if (wh[1] && (s1h = pos[1] + obj.offsetHeight) > wh[1])obj.style.top = (wh[1] - s1h) + "px"; else  obj.style.top = "";
    if (wh[0] && (s1h = pos[0] + d) > wh[0])c.style.left = -d + "px";
}
function x27(obj) {
    var x = 0;
    var y = 0;
    do{
        x += obj.offsetLeft;
        y += obj.offsetTop;
    } while (obj = obj.offsetParent)
    return new Array(x, y);
}
function x6(id, dto) {
    x19 = "#omenus" + id;
    sd = "<style id='ssomenus" + id + "' type='text/css'>";
    x20 = 0;
    di = 0;
    while ((x21 = uld.getElementById("ulitem" + id + x43 + di))) {
        if ((wfl = x21.firstChild.lastChild) && wfl.getAttribute && wfl.getAttribute("imrollimage")) {
            var a = "#ulaitem" + id + x43 + di;
            if (!ulm_iemac) {
                var b = a + ".ihover span ";
                sd += a + " span{visibility:hidden;text-decoration:none;}";
                sd += b + "{" + ulm_curs + ulf + "}";
                sd += b + "img{border-width:0px;}";
            } else sd += a + " span{display:none;}";
        }
        if (dto.main_is_horizontal) {
            if (ulm_iemac)x21.style.display = "inline-block"; else sd += "#ulitem" + id + x43 + di + "{float:left;}";
            if (tgw = x21.style.width)x20 += parseInt(tgw);
        } else {
            x20 = parseInt(uld.getElementById("omenus" + id).style.width);
            x21.style.width = "100%";
        }
        di++;
    }
    var c = uld.getElementById("omenus" + id);
    c.style.width = x20 + "px";
    if (ulm_ie)c.parentNode.style.width = x20 + "px";
    sd += "#imcontainer1" + id + "{text-align:left;z-index:" + (999999 - id) + ";position:" + (ulm_oldnav?("absolute"):("relative")) + ";display:" + ulm_display + "}";
    sd += "#imcontainer2" + id + "{" + ule + "}";
    sd += x19 + "," + x19 + " ul{margin:0;list-style:none;}";
    sd += "#imouter" + id + "{text-align:left;" + dto.main_container_styles + "}";
    if (!(scse = dto.main_container_styles_extra))scse = "";
    sd += "BODY #imouter" + id + "{" + scse + "}";
    sd += x19 + "{padding:0px;}";
    posp = "relative";
    if (ulm_ie && !ulm_mac)posp = "absolute";
    sd += x19 + " ul{padding:0px;" + dto.subs_container_styles + "position:" + posp + ";top:0px;left:0px;}";
    if (!(scse = dto.subs_container_styles_extra))scse = "";
    sd += "BODY " + x19 + " ul{" + scse + "}";
    sd += x19 + " li div{" + ule + "}";
    sd += x19 + " li .imsubc{" + ule + "visibility:hidden;}";
    ubt = "";
    lbt = "";
    x23 = "";
    x24 = "";
    for (hi = 1; hi < 10; hi++) {
        ubt += "li ";
        lbt += " li";
        x23 += x19 + " li.ishow " + ubt + " .imsubc";
        x24 += x19 + lbt + ".ishow .imsubc";
        if (hi != 9) {
            x23 += ",";
            x24 += ",";
        }
    }
    sd += x23 + "{visibility:hidden;}";
    sd += x24 + "{" + ulf + "}";
    if (!ulm_ie7)sd += x19 + "," + x19 + " li{}"; else sd += x19 + " li{display:inline;}";
    sd += x19 + "," + x19 + " ul{text-decoration:none;}";
    sd += x19 + " ul li a.ihover{" + dto.subs_item_hover_styles + "}";
    sd += x19 + " li a.ihover{" + dto.main_item_hover_styles + "}";
    sd += x19 + " li a.iactive{" + dto.main_item_active_styles + "}";
    sd += x19 + " ul li a.iactive{" + dto.subs_item_active_styles + "}";
    sd += x19 + " li a.iactive div img{" + ulf + "}";
    ulp = "";
    ulmp = "";
    if (ulm_ie && !ulm_strict) {
        ulp = "width:100%;";
        ulmp = "position:static;";
    }
    sd += x19 + " a{display:block;position:relative;" + ulp + "" + dto.main_item_styles + "}";
    sd += x19 + " a img{border-width:0px;}";
    if (!(scse = dto.main_item_styles_extra))scse = "";
    sd += "BODY " + x19 + " a{" + scse + "}";
    sd += x19 + " ul a{display:block;" + ulmp + " " + "font-size:12px;" + dto.subs_item_styles + "}";
    if (!(scse = dto.subs_item_styles_extra))scse = "";
    sd += "BODY " + x19 + " ul a{" + scse + "}";
    sd += x19 + " li{" + ulm_curs + "}";
    sd += "#ulmba" + "{position:absolute;border-style:solid;border-color:#000000;border-width:1px;" + dto.box_animation_styles + "}";
    uld.write(sd + "</style>");
}
function x68(){
x1= document.getElementsByTagName("UL");
for (mi = 0; mi < x1.length; mi++) {
    if ((x2 = x1[mi].id) && x2.indexOf("omenus") + 1) {
        document.getElementById(x2 + 'x').style.display = ulm_display;
        x2 = x2.substring(6);
        dto = new window["omenus_data"];
        x45.dto = dto;
        ulm_d = dto.menu_showhide_delay;
        omenus_create_menu(x1[mi].childNodes, x2 + x43, dto, x2);
        (ap1 = x1[mi].parentNode).id = "imouter" + x2;
        (ap3 = ap1.parentNode).id = "imcontainer2" + x2;
        (ap2 = ap3.parentNode).id = "imcontainer1" + x2;
        if (!ulm_oldnav && ulmpi)ulmpi(ap3, dto, 0);
        x6(x2, dto);
        ap1.style.display = ulm_display;
        var a = ulm_mglobal;
        a.set = ap2.style;
        a.x21 = ap1;
        a.hobj = ap3;
        im_set_wh();
        if (ulm_ie && !ulm_mac) {
            for (var i = 0; i < (x32 = uld.getElementsByTagName("iframe")).length; i++) {
                if ((a = x32[i]).getAttribute("x31")) {
                    a.style.height = (x33 = a.parentNode.children[1]).offsetHeight;
                    a.style.width = x33.offsetWidth;
                }
            }
        }
    }
}}




